<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>开业登记</title>
<script src="${ctx}/js/table.js" type="text/javascript" language="javascript"></script>
<style type="text/css">
body,span,div,td{font-size:12px;line-height:1.5em;}
#content {
	position:absolute;
	width:1070px;
	height:388px;
	z-index:2;
	left: 5px;
	top: 55px;
}
a{
text-decoration:none;
}
a:link,a:visited,a:hover{
text-decoration:none;
color:#333333;
}
.style{
font-size:13px;
color:#333333;
background:url('${pageContext.request.contextPath}/images/jianbian.gif');
background-repeat:repeat-x;
}
#button {
	position:absolute;
	width:1070px;
	height:40px;
	z-index:3;
	left: 0;
	top: 0;
}
</style>
<script type="text/javascript">
	<!--
	
	//到指定的分页页面
	function topage(page){
		var form = document.forms[0];
		form.page.value=page;
		form.submit();
	}
	function validate(){
		if(document.form1.condition.value==""){
			alert("请输入查询条件");
			return false;
		}
		document.form1.isQuery.value = "yes";
		return true;
	}
	//-->
</script>
</head>

<body>
<s:form name="form1" id="form1" method="post" action="tmBizOpen_list" namespace="/taxmanage" onsubmit="return validate();">
<s:hidden name="isQuery"></s:hidden>
<s:hidden name="page"></s:hidden>
<s:hidden name="status"></s:hidden>
<div id="button">
    <table width="100%" height="40" border="0" cellspacing="0" style="background-image:url(${ctx}/images/ltop.gif)">
      <tr>
        <td width="55"  style="font-size:15px;color:#333333; ">&nbsp;</td>
        <td width="595"  style="font-size:13px;color:#333333; ">
        	<c:if test="${opentype=='STOP'}">已经办理停业登记的企业</c:if>
        	<c:if test="${opentype!='STOP'}">开业登记汇总</c:if>
        </td>
        <td width="210"  style="font-size:12px;color:#333333; ">请输登记证号或企业名称：	  		  </td>
        <td width="190"  ><input style=" background:none; border:none;width:150px; height:25px;font-size:12px;color:#333333;z-index:4;margin-top:5px;" type="text" name="condition" id="condition" /></td>
        <td width="120" align="left" valign="middle">
		<input style="background:none; border:none;color:#333333;" type="submit" value="搜索"/></td>
      </tr>
    </table>
</div>
<div id="content">
<table width="100%" height="409" border="0" cellspacing="0" >
	<tr>
    <td height="35" colspan="5" valign="top">
    <table width="100%" height="35" border="0" cellspacing="0"  class="style">
  <tr>
    <td valign="middle"><table width="1159" border="1" align="center" cellspacing="0" bordercolor="#666666" frame="void" style="border-collapse:collapse" >
        <tr align="center" style="font-size:13px; color:#849BCA">
      <td width="100">开业登记证号</td>
      <td width="100">纳税人名称</td>
      <td width="100">登记注册类型</td>
      <td width="100">经营方式</td>
      <td width="100">行业</td>
      <td width="100">主营</td>
      <td width="100">开业状态</td>
      <td width="100">审核状态</td>
      <td width="72">操作</td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</td>
    </tr>
	<tr>
	<td height="334" colspan="5" valign="top"><table width="1159" id="tbColor" style="border-collapse: collapse"  border="1" cellspacing="0" bordercolor="#FFCCFF" frame="hsides" rules="all">
    <c:forEach items="${pageView.records}" var="entity">
    <tr style="font-size:12px" align="center">
      <td width="100">${entity.regno}</td>
      <td width="100" align="left">${entity.taxplayer}</td>
      <td width="100" align="left">${entity.regtype}</td>
      <td width="100" align="left">${entity.managetype}</td>
      <td width="100" align="left">${entity.trade}</td>
      <td width="100" align="left">${entity.mainmanage}</td>
      <td width="100" align="left">${entity.opentype.name}</td>
      <td width="100" align="left">${entity.status.name}</td>
     <td width="72"><a href="${ctx}/taxmanage/tmBizOpen_findById.action?id=${entity.id}" onclick="javascript:return confirm('提示：已通过审核的开业登记无法进行变更操作！是否继续操作？')">更新</a></td>
    </tr>
	</c:forEach>
    </table>
    </td>
	</tr>
	<%@ include file="/pages/taxmanage/fenye.jsp"%>
</table>
</div>
 </s:form>
</body>
</html>
